package tiled.mapeditor.util;

import java.util.EventObject;

import tiled.core.TileLayer;

public class TileRegionSelectionEvent extends EventObject
{
    private final TileLayer tileLayer;

    public TileRegionSelectionEvent(Object source, TileLayer tileLayer)
    {
        super(source);
        this.tileLayer = tileLayer;
    }

    public TileLayer getTileRegion()
    {
        return tileLayer;
    }
}
